package com._119yn.host.gst200.database.dao;

import com._119yn.host.gst200.database.entity.DeviceStatus;

import java.util.List;

public interface DeviceStatusDao {

    long insert(DeviceStatus deviceStatus);

    long deleteByDeviceId(String deviceId);

    long truncate();

    long updateByDeviceId(DeviceStatus deviceStatus);

    DeviceStatus selectByDeviceId(String deviceId);

    List<DeviceStatus> selectAll();
}
